import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '创建时间',
    align: "center",
    dataIndex: 'createTime'
  },
  {
    title: '批次编号',
    align: "center",
    dataIndex: 'batchNo'
  },
  {
    title: '查询总数量',
    align: "center",
    dataIndex: 'queryTotal'
  },
  {
    title: '查询成功数量',
    align: "center",
    dataIndex: 'querySuccess'
  },
  {
    title: '查询失败数量',
    align: "center",
    dataIndex: 'queryFail'
  },
  {
    title: '统计状态',
    align: "center",
    dataIndex: 'statStatus_dictText'
  },
   {
    title: '完成时间',
    align: "center",
    dataIndex: 'completeTime'
  },


];

// 高级查询数据
export const superQuerySchema = {
  batchNo: {title: '批次编号',order: 0,view: 'text', type: 'string',},
  queryTotal: {title: '查询总数量',order: 1,view: 'number', type: 'number',},
  querySuccess: {title: '查询成功数量',order: 2,view: 'number', type: 'number',},
  queryFail: {title: '查询失败数量',order: 3,view: 'number', type: 'number',},
  statStatus: {title: '统计状态',order: 4,view: 'list', type: 'string',dictCode: 'batch_query_stat_status',},
};
